package cn.edu.neusoft.wuguangsheng.flowerimpression.model;

import cn.edu.neusoft.wuguangsheng.flowerimpression.bean.SuccessBean;
import cn.edu.neusoft.wuguangsheng.flowerimpression.iface.DeleteSheQuIface;
import cn.edu.neusoft.wuguangsheng.flowerimpression.listener.TListener;
import cn.edu.neusoft.wuguangsheng.flowerimpression.service.AllService;
import retrofit2.Call;
import retrofit2.Retrofit;

public class DeleteSheQuModel extends RetrofitBaseModel implements DeleteSheQuIface<SuccessBean> {
    private AllService allService;
    private Retrofit retrofit;
    public DeleteSheQuModel(){
        retrofit=getRetrofit();
        allService=getAllService();
    }
    @Override
    public void deleteSheQu(String sqid, TListener<SuccessBean> tListener) {
        Call<SuccessBean> call = allService.deleteSheQu(sqid);
        callenqueue(call,tListener);
    }
}
